#include "customedit.h"

CustomEdit::CustomEdit(QWidget *parent):
    QLineEdit(parent)
{

}

void CustomEdit::focusInEvent(QFocusEvent *event)
{
    emit focusChanged();
    QLineEdit::focusInEvent(event);
}

void CustomEdit::focusOutEvent(QFocusEvent *event)
{
    emit focusChanged();
    QLineEdit::focusOutEvent(event);
}

